<?php

return [
    'straight'   => [
        'type'          => 'state_machine',
        'marking_store' => [
            'type' => 'single_state',
        ],
        'supports'      => [\App\model\Workshop::class],

        'places'        => ['caigou', 'tuiguang', 'yewu'],
        'transitions'   => [
            'first_sure' => [
                'from' => 'yewu',
                'to'   => 'caigou',
            ],
            'second_sure' => [
                'from' => 'caigou',
                'to'   => 'tuiguang',
            ],
            'reject'=>[
                'from'=>['caigou','tuiguang'],
                'to'=>'yewu'

            ]
        ],
    ]
];
